ScopedGtbabel\vielhuber\gtbabel\Host C

Total Complexity 124
Dependencies 3
Dependents 7
Total lines 401
Lines of code 341
Logical lines of code 193
Comment lines 8
Methods 43
Properties 6

Methods 43

Method Rating Maintainability Complexity Lines of code
getLanguageCodeFromUrl()
A
46 11 38
contentTypeIsInappropriate()
A
51 10 31
getPathWithoutPrefixFromUrl()
A
52 8 25
getIpLanguageCode()
S
56 7 16
isAjaxRequest()
S
63 6 9
slugTranslationIsDisabledForUrl()
S
61 5 11
contentTranslationIsDisabledForUrl()
S
61 5 11
appendArgToUrl()
S
55 4 19
shouldUseLangQueryArg()
S
61 4 13
getBaseUrlForLanguageCode()
S
62 4 11
getArgsFromUrl()
S
62 4 11
getPrefixFromUrl()
S
64 4 9
getBrowserLanguageCode()
S
63 4 10
getPrefixForLanguageCode()
S
68 3 7
getArgFromUrl()
S
68 3 7
__construct()
S
73 3 4
getCurrentUrlWithArgsConverted()
S
75 3 3
getCurrentUrlConverted()
S
75 3 3
getCurrentHostConverted()
S
76 3 3
getContentType()
S
67 3 9
getRefererLanguageCode()
S
69 2 7
getPathWithPrefixFromUrl()
S
65 2 9
getReferer()
S
71 2 6
stripArgsFromUrl()
S
68 2 7
contentTranslationIsDisabledForCurrentUrl()
S
81 1 3
getBaseUrlForSourceLanguage()
S
81 1 3
getCurrentPrefix()
S
81 1 3
getCurrentPathConverted()
S
78 1 3
getCurrentPathWithArgsConverted()
S
81 1 3
getCurrentArgsConverted()
S
79 1 3
getCurrentPathWithArgs()
S
83 1 3
getBaseUrlWithPrefixForLanguageCode()
S
77 1 3
getCurrentPath()
S
83 1 3
stripNonArgsFromUrl()
S
78 1 3
getCurrentArgs()
S
83 1 3
getCurrentUrl()
S
83 1 3
responseCodeIsSuccessful()
S
78 1 3
urlIsStaticFile()
S
78 1 3
setup()
S
67 1 8
getCurrentUrlWithArgs()
S
83 1 3
getCurrentHost()
S
83 1 3
slugTranslationIsDisabledForCurrentUrl()
S
81 1 3
currentUrlIsStaticFile()
S
81 1 3